import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Post, PostComment, PostLike } from './post.entity';
import { Notification  } from '../notification/notification.entity';
import { NotificationService } from '../notification/notification.service';
import { PostService } from './post.service';
import { PostController } from './post.controller';

@Module({
  imports: [TypeOrmModule.forFeature([Post, PostComment, PostLike,Notification])],
  providers: [PostService,NotificationService],
  controllers: [PostController],
})
export class PostModule {}
